package com.study.dao;

import org.apache.ibatis.annotations.Param;

public interface RolePermissionDao {
    int deleteByRoleId(Integer roleId);

    int deleteByPermissionId(Integer permissionId);

    void batchInsert(@Param("roleId") Integer roleId,@Param("permissionIds") String[] permissionIds);

    int[] getCatalogIdByUserId(Integer userId);
}
